package ru.study.thinkin.chapter14;

class Automobile{};

public class Holder3<T> {
	private T a;

	public Holder3(T a) {
		this.a = a;
	}

	public T getA() {
		return a;
	}

	public void setA(T a) {
		this.a = a;
	}

	public static void main(String[] args) {
		Holder3<Automobile> h3 = new Holder3<Automobile>(new Automobile());
		Automobile a1 = h3.getA();
//		h3.setA("AAA");
	}

}
